package com.example.service.webhook.business.security.entity;

import com.example.service.webhook.repository.base.Saveable;

import java.util.Date;

public class MedicalInsuranceRecordEntity implements Saveable {
    private Long id;
    private String userId;
    // userInfoId
    private String userInfoId;
    // 地区编码
    private String areaCode;
    // 医疗机构名称
    private String organizationName;
    // 医疗类别
    private String type;
    // 结算时间
    private String settlemenTime;
    // 结算金额
    private Integer money;

    private Date createTime;
    private Date lastModifyTime;

    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_medical_insurance_record";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }

    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserInfoId() {
		return userInfoId;
	}

	public void setUserInfoId(String userInfoId) {
		this.userInfoId = userInfoId;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getOrganizationName() {
		return organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getSettlemenTime() {
		return settlemenTime;
	}

	public void setSettlemenTime(String settlemenTime) {
		this.settlemenTime = settlemenTime;
	}

	public Integer getMoney() {
		return money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
    
}
